<template>
	<view class="content">
		<view class="header">
			<view class="mohu" v-show="ViewKou>=30">
				
			</view>
			<view class="zhanwei">
			</view>
			<view class="biao_ti">
				<view class="top-text" @click="Fanhui()"><image src="../../../static/image/youjiantou (3).png" mode="scaleToFill"></image>我的收藏</view>
				<text></text>
			</view>
		</view>
		<view class="shoucang-box">
			<view class="tu-kuang" v-for="(item,index) in 8" :key="index">
				<image src="../../../static/image/shijiandege.jpg" mode="scaleToFill"></image>
				<view class="riqi">{{"2024-9-25 11:37:45"}}</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				ViewKou:0
			}
		},
		onPageScroll(e) {
			this.ViewKou = e.scrollTop;
		},
		methods: {
			Fanhui(){
				uni.navigateBack({
					data:1
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	@font-face {
	  font-family: 'YouSheBiaoTiHei';
	  src: url('https://kuaiyinvideo.oss-cn-beijing.aliyuncs.com/ziti.ttf');
	}
	.mohu{
		width: 100%;
		height: 100%;
		backdrop-filter: blur(5px);
		background-color: rgba(255, 255, 255, 0.1); /* 透明度为50%的白色背景 */
		position: absolute;
		z-index: 1;
	}
	.content{
		width: 100%;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		align-items: center;
		.header{
			width: 100%;
			height:150rpx;
			// background-color: rgb(19, 20, 22);
			display: flex;
			flex-direction: column;
			align-items: center;
			position: fixed;
			top: 0;
			z-index: 100;
			padding-bottom: 20rpx;
			.zhanwei{
				width: 100%;
				height: 100rpx;
			}
			.biao_ti{
				width: 93%;
				display: flex;
				align-items: center;
				justify-content: space-between;
				position: relative;
				z-index: 50;
				.top-text{
					font-size: 40rpx;
					color:rgb(250,233,5);
					display: flex;
					align-items: center;
					font-family: "YouSheBiaoTiHei";
					image{
						width: 35rpx;
						height: 35rpx;
						transform: rotate(180deg);
						margin-right: 9rpx;
					}
				}
				.sousuo{
					width: 350rpx;
					height: 70rpx;
					background-color: #1a1a1a;
					border-radius: 100rpx;
					display: flex;
					align-items: center;
					position: relative;
					font-size: 26rpx;
					color: #e2e2e2;
					margin-left: 30rpx;
					image{
						width: 40rpx;
						height: 40rpx;
						margin-left: 20rpx;
						margin-right: 15rpx;
					}
				}
			}
			
		}
	
		//收藏
		.shoucang-box{
			width: 93%;
			margin-top: 180rpx;
			overflow: hidden;
			// background-color: #e2e2e2;
			display: grid;
			grid-template-columns: 1fr 1fr 1fr;
			gap: 26rpx;   
			.tu-kuang{
				width: 100%;
				height: 215rpx;
				overflow: hidden;
				border-radius: 15rpx;
				margin-bottom: 25rpx;
				position: relative;
				image{
					width: 100%;
					height: 100%;
				}
				.riqi{
					position: absolute;
					width: 100%;
					height: 45rpx;
					bottom: 0;
					background-color: rgba(255, 255, 255, .7);
					display: flex;
					align-items: center;
					justify-content: center;
					font-size: 24rpx;
					color: #646464;
				}
			}
		}
	}
</style>
